  <%
             JavaBeans.User user = (JavaBeans.User) session.getAttribute("user");
             if (user == null)
                 response.sendRedirect("/CSE305/index.jsp");
             else if(user != null)
                 if(user.getRole() != 'm')
                     response.sendRedirect("/CSE305/index.jsp");
                             else{ %>

<div id="header"><jsp:include page="header.jsp"/></div><br/>

<%@page import="java.util.Iterator"%>
<%@page import="java.util.Vector"%>    
<div id="page-wrap">
        <div id="main-sidebar">
            <!-- Below the including content will based on user's role in the system  -->
           <jsp:include page="Left Panel/Manager.jsp"/>
            
        </div>
        <div id="main-content">
            <jsp:include page="Manager/add_stock.jsp"/>
        </div>
    </div>

    <!-- Employee Registration Dialog -->
    <div id="divModalDialog1" class="divModalDialog"><div>
        <ul>
                <jsp:include page="empregistration.jsp"/>
        </ul>
        </div></div>
    <!-- Employee Invalid Registration Dialog -->
    <div id="divModalDialog2" class="divModalDialog"><div>
            <ul>
                <jsp:include page="empregistration_invalid.jsp"/>
            </ul>
    </div></div>
    <!-- Employee Edit Registration Dialog -->
    <div id="divModalDialog3" class="divModalDialog"><div>
            <ul>
                <jsp:include page="empregistration_invalid.jsp"/>
            </ul>
    </div></div>
    <!-- Customer Registration Dialog -->
    <div id="divModalDialog4" class="divModalDialog"><div>
        <ul>
                <jsp:include page="registration.jsp"/>
        </ul>
        </div></div>
    <!-- Customer Invalid Registration Dialog -->
    <div id="divModalDialog5" class="divModalDialog"><div>
        <ul>
                <jsp:include page="registration_invalid.jsp"/>
        </ul>
        </div></div>
    <!-- Customer Edit Registration Dialog -->
    <div id="divModalDialog6" class="divModalDialog"><div>
        <ul>
                <jsp:include page="registration_invalid.jsp"/>
        </ul>
        </div></div>
	
    <div id="footer" align="center">
        <jsp:include page="footer.jsp"/>
    </div>
    </body>
</html><%}%>
